package com.demo.example;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="business")
public interface BusinessClient {
    @GetMapping(value="/business/test/{value}")
    public String businessMethod(@PathVariable("value") String value);
}
